﻿using CommunityToolkit.Mvvm.ComponentModel;
using MyVideoPlayer.Views;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace MyVideoPlayer.Models
{
    public class MultiWinSetModel : ObservableObject
    {
        private ObservableCollection<ScreenInfo> screens = [];
        /// <summary>
        /// 视频列表
        /// </summary>
        public ObservableCollection<ScreenInfo> Screens
        {
            get => screens;
            set => SetProperty(ref screens, value);
        }
        private Dictionary<string, string> playListFileDic = [];
        /// <summary>
        /// 记录播放列表文件路径的字典
        /// </summary>
        public Dictionary<string, string> PlayListFileDic
        {
            get => playListFileDic;
            set => SetProperty(ref playListFileDic, value);
        }
    }
}
